package com.xtkj.superclub_activity.service.impl;

import com.alipay.api.AlipayApiException;
import com.xtkj.superclub_activity.config.AlipayUtil;
import com.xtkj.superclub_activity.service.IAlipayService;
import com.xtkj.superclub_entity.entity.activity.AlipayBean;
import org.springframework.stereotype.Service;


@Service(value = "alipayOrderService")
public class AlipayServiceImpl implements IAlipayService {

    /* 支付服务 */
    @Override
    public String aliPay(AlipayBean alipayBean) throws AlipayApiException {
        return AlipayUtil.connect(alipayBean);
    }
}
